package xeroxware.framework.mybatis;

import java.util.List;

public class MetaDataHolder {

	private static final ThreadLocal<List<ColumnMetaData>> contextHolder = new ThreadLocal<List<ColumnMetaData>>();

	public static void setColumnMetaData(List<ColumnMetaData> list) {
		contextHolder.set(list);
	}

	public static List<ColumnMetaData> getColumnMetaData() {
		return contextHolder.get();
	}

	public static void clearColumnMetaData() {
		contextHolder.remove();
	}
}
